//using Habanero.UI.Base;
//using Habanero.UI.Win;

//namespace FireStarterModeller.UI
//{
//    public class ExtendedComboBox : UserControlWin
//    {
//        private readonly IControlFactory _controlFactory;
//        private IComboBox _comboBox;
//        private IButton _button;

//        public ExtendedComboBox() : this(GlobalUIRegistry.ControlFactory)
//        {
//        }

//        public ExtendedComboBox(IControlFactory controlFactory)
//        {
//            _controlFactory = controlFactory;
//            IUserControlHabanero userControlHabanero = this;
//            _comboBox = _controlFactory.CreateComboBox();
//            _button = _controlFactory.CreateButton("...");
//            BorderLayoutManager borderLayoutManager = controlFactory.CreateBorderLayoutManager(userControlHabanero);
//            borderLayoutManager.AddControl(_comboBox, BorderLayoutManager.Position.Centre);
//            borderLayoutManager.AddControl(_button, BorderLayoutManager.Position.East);
//        }



//        public IComboBox ComboBox
//        {
//            get { return _comboBox; }
//        }

//        public IButton Button
//        {
//            get { return _button; }
//        }
//    }
//}